
pub struct Buffer{
    buffer_block: [u8; 1024],
    memory_block: [u8; 2048],
    read_cursor: usize,
    write_cursor: usize,
    size: usize
}

impl Buffer{
    pub fn new(size: u32) -> Buffer{
        Buffer{
            buffer_block: [0u8; 1024],
            memory_block: [0u8; 2048],
            read_cursor: 0,
            write_cursor: 0,
            size: 2048
        }
    }
}